#import "AppVariables.h"

static AppVariables* variables = nil;

@implementation AppVariables

+ (AppVariables*)variables
{
    @synchronized(self)
    {
        if(variables == nil)
        {
            variables = [[self alloc] init];
        }
    }
    return variables;
}

+ (id)allocWithZone:(NSZone *)zone
{
    @synchronized(self)
    {
        if (variables == nil)
        {
            variables = [super allocWithZone:zone];
        }
    }
    return variables;
}

@end
